package com.shiguiwu.springboot3.service;

import java.util.List;
import java.util.Map;

/**
 * @description: 向量服务
 * @author: stone
 * @date: Created by 2025/10/19 11:26
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.service
 */
public class VectorStoreService {

    // 存 embedding
    public void upsertVector(String id, float[] vector, Map<String, String> metadata) {

    }

    //向量检索：返回 topK id list（伪实现，实际要使用 FT.SEARCH ... PARAMS ...）
    public List<String> searchByEmbedding(float[] queryVec, int topK) {
       return null;
    }


}
